import { instance as request } from "@/utils/request";
export const register = (data: any) => {
    return request({
        url: "/register",
        method: "post",
        data,
    });
};
export const login = (data: any) => {
    return request({
        url: "/login",
        method: "post",
        data,
    });
};